﻿<%@ Page Language="C#" MasterPageFile="~/Main/AdminPage.master" AutoEventWireup="true" CodeFile="VideoAdd.aspx.cs" Inherits="Main_VideoAdd" Title="添加视频" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width:750px; line-height:35px;">
   <table style="width: 500px; margin:auto; font-size:14px; font-weight:bolder; color:#666; text-align:left; ">
        <tr>
            <td style="width: 115px" >
                视频名称:</td>
            <td >
                <asp:TextBox ID="txtname" runat="server" ValidationGroup="rfv1"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 115px" >
                类型:</td>
            <td >
                          <asp:DropDownList ID="ddltype" runat="server">
                          <asp:ListItem Value="0">--请选择--</asp:ListItem>
                              <asp:ListItem Value="新闻">新闻</asp:ListItem>
                              <asp:ListItem Value="搞笑">搞笑</asp:ListItem>
                              <asp:ListItem Value="电影">电影</asp:ListItem>
                              <asp:ListItem Value="短片">短片</asp:ListItem>
                              <asp:ListItem Value="原创">原创</asp:ListItem>
                              <asp:ListItem Value="广告">广告</asp:ListItem>
                          </asp:DropDownList></td>
        </tr>
        <tr>
            <td style="width: 115px" >
                链接地址:</td>
            <td >
                <asp:TextBox ID="txtlink" runat="server" Width="300px"></asp:TextBox></td>
        </tr>
        
         <tr>
           <td style="width: 115px">
               上传LOGO图片:</td>
           <td>
                    <asp:FileUpload ID="fulogo" runat="server" CssClass="btn" Width="240px" />
                    <asp:Button ID="btnuplogo" runat="server" CssClass="btn" OnClick="btnuplogo_Click"
                        Text="上传" /></td>
       </tr>
           <tr>
            <td style="height: 15px; width: 115px;" >
                LOGO图片:</td>
            <td style="height: 15px;" >
                <asp:TextBox ID="txtlogo" runat="server"></asp:TextBox></td>
        </tr>
       
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnadd" runat="server" Text="添加" onclick="btnadd_Click" 
                    style="height: 26px" />
            </td>
        </tr>
    </table>
    </div>
</asp:Content>

